<?php
defined('BASEPATH') OR exit('No direct script access allowed');
?>
	<footer id="my_footer" class="navbar  navbar-default" style="margin-top: 20px;margin-bottom: 0;">
		<div style="margin: auto;width: 80%;height:80px;overflow:hidden;padding: 5px 0 10px 0;">
			<div style="float: left;">
				<div style="margin-top: 5px;">帮助中心</div>
				<div style="margin-top: 5px;">常见问题</div>
				<div style="margin-top: 5px;">关于我们</div>
			</div>
			<div style="float: left;margin-left: 30px;">
				<div style="margin-top: 5px;">联系客服</div>
				<div style="margin-top: 5px;">邮箱:yizhiwang2016@163.com</div>
				<div style="margin-top: 5px;">译之网运营团队</div>
			</div>
			<div style="float: right;">

			</div>
		</div>
	</footer>
	<!--<script src="-->
	<?php //echo base_url('assets/js/common.js'); ?>
	<!--"></script>-->
	<script>
		function logout() {
			$.ajax({
				url: '<?php echo site_url("admin/logout");?>',
				type: 'post',
				dataType: '',
				data: '',
				success: function(data) {
					window.location.href = '<?php echo site_url("admin/login");?>';
					return false;
				}
			});
		}
	</script>
	<script>
		if(typeof(w_height) == "undefined") {
			var w_height = document.documentElement.clientHeight;
		}
		var footer_top = $("#my_footer").offset().top;
		console.log(footer_top);
		if(footer_top < w_height - 80) {
			$("#my_footer").css('margin-top', w_height - footer_top - 80 + 'px');

			//        alert(w_height - footer_top);
		}
	</script>